Implement titlebar action settings for Wayland
authorMatthias Clasen <mclasen@redhat.com>
Thu, 25 Sep 2014 05:25:49 +0000 (01:25 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 25 Sep 2014 18:54:49 +0000 (14:54 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=729782

gdk/wayland/gdkscreen-wayland.c

index 4a77ba063a435eb5208c3661f86480d666b0de0d..148022807ebef1f528b464f996465d4e42bb3bb6 100644 (file)
@@ -540,7 +540,9 @@ static TranslationEntry translations[] = {
   { "org.gnome.settings-daemon.plugins.xsettings", "hinting", "gtk-xft-hintstyle", G_TYPE_NONE, { .i = 0 } },
   { "org.gnome.settings-daemon.plugins.xsettings", "rgba-order", "gtk-xft-rgba", G_TYPE_NONE, { .i = 0 } },
   { "org.gnome.desktop.interface", "text-scaling-factor", "gtk-xft-dpi" , G_TYPE_NONE, { .i = 0 } },
-
+  { "org.gnome.desktop.wm.preferences", "action-double-click-titlebar", "gtk-titlebar-double-click", G_TYPE_STRING, { .s = "toggle-maximize" } },
+  { "org.gnome.desktop.wm.preferences", "action-middle-click-titlebar", "gtk-titlebar-middle-click", G_TYPE_STRING, { .s = "none" } },
+  { "org.gnome.desktop.wm.preferences", "action-right-click-titlebar", "gtk-titlebar-right-click", G_TYPE_STRING, { .s = "menu" } },
 };
 
 static TranslationEntry *